package com.example.logistics_oa.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.comment_oa.pojos.xinzi.JibenWuxianyijin;
import com.example.logistics_oa.service.JibenWuxianyijinService;
import com.example.logistics_oa.mapper.JibenWuxianyijinMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 安徽彭于晏
* @description 针对表【jiben_wuxianyijin】的数据库操作Service实现
* @createDate 2023-02-03 18:20:52
*/
@Service
public class JibenWuxianyijinServiceImpl extends ServiceImpl<JibenWuxianyijinMapper, JibenWuxianyijin>
    implements JibenWuxianyijinService{
    @Autowired
    JibenWuxianyijinMapper jibenWuxianyijinMapper;

    @Override
    public int insertAllWuXianYiJin(JibenWuxianyijin jibenWuxianyijin) {
        return jibenWuxianyijinMapper.insertAllWuXianYiJin(jibenWuxianyijin);
    }

    @Override
    public List<JibenWuxianyijin> selectallWuXianYiJin(String jibenId) {
        return jibenWuxianyijinMapper.selectallWuXianYiJin(jibenId);
    }

    @Override
    public int updateWuXianYiJinOne(int jibenZhujian) {
        return jibenWuxianyijinMapper.updateWuXianYiJinOne(jibenZhujian);
    }

    @Override
    public int updateWuXianYiJinAll(String jibenId) {
        return jibenWuxianyijinMapper.updateWuXianYiJinAll(jibenId);
    }

    @Override
    public List<JibenWuxianyijin> selectByIdAndSend(String jibenId, int jibensend) {
        return jibenWuxianyijinMapper.selectByIdAndSend(jibenId,jibensend);
    }
}




